import request from '../../utils/request';

export const getPage = (query) => {
    return request({
        url: '/mallSelectGoods/getPage',
        method: 'post',
        data: query
    })
}


export const add = (query) => {
    return request({
        url: '/mallSelectGoods/add',
        method: 'post',
        data: query
    })
}


export const edit = (query) => {
    return request({
        url: '/mallSelectGoods/edit',
        method: 'post',
        data: query
    })
}

export const getInfo = (query) => {
    return request({
        url: '/mallSelectGoods/get/'+query,
        method: 'post',
        data: query
    })
}


export const updateStatus = (query) => {
    return request({
        url: '/mallSelectGoods/updateStatus',
        method: 'post',
        data: query
    })
}